package com.aichat.ai_chatbackend.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 对话总结表
 * @TableName conversation_summary
 */
@TableName(value ="conversation_summary")
@Data
public class ConversationSummary implements Serializable {
    /**
     * 总结ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 会话ID
     */
    private String sessionId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 总结内容
     */
    private String summaryContent;

    /**
     * 关键话题
     */
    private String keyTopics;

    /**
     * 用户情绪
     */
    private String userMood;

    /**
     * 建议
     */
    private String suggestions;

    /**
     * 总结时间
     */
    private Date summaryTime;

    /**
     * 创建时间
     */
    private Date createdAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}